.Net Framework > v2.0.50727 > System > Globalization > CompareInfo > IndexOf IndexOf(String,Char)
IndexOf(String,Char,CompareOptions)
IndexOf(String,Char,Int32)
IndexOf(String,Char,Int32,CompareOptions)
IndexOf(String,Char,Int32,Int32)
IndexOf(String,Char,Int32,Int32,CompareOptions)
IndexOf(String,String)
IndexOf(String,String,CompareOptions)
IndexOf(String,String,Int32)
IndexOf(String,String,Int32,CompareOptions)
IndexOf(String,String,Int32,Int32)
IndexOf(String,String,Int32,Int32,CompareOptions)


IndexOf(String,Char)

Category
Method
Description
Searches for the specified character and returns the zero-based index of the first occurrence within the entire source string.
Type
Int32
Character
public
Parameters
NameTypeDescription
sourceString
valueChar
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IndexOf(String,Char,CompareOptions)

Category
Method
Description
Searches for the specified character and returns the zero-based index of the first occurrence within the entire source string using the specified System.Globalization.CompareOptions value.
Type
Int32
Character
public
Parameters
NameTypeDescription
sourceString
valueChar
optionsCompareOptions
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IndexOf(String,Char,Int32)

Category
Method
Description
Searches for the specified character and returns the zero-based index of the first occurrence within the section of the source string that extends from the specified index to the end of the string.
Type
Int32
Character
public
Parameters
NameTypeDescription
sourceString
valueChar
startIndexInt32
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IndexOf(String,Char,Int32,CompareOptions)

Category
Method
Description
Searches for the specified character and returns the zero-based index of the first occurrence within the section of the source string that extends from the specified index to the end of the string using the specified System.Globalization.CompareOptions value.
Type
Int32
Character
public
Parameters
NameTypeDescription
sourceString
valueChar
startIndexInt32
optionsCompareOptions
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IndexOf(String,Char,Int32,Int32)

Category
Method
Description
Searches for the specified character and returns the zero-based index of the first occurrence within the section of the source string that starts at the specified index and contains the specified number of elements.
Type
Int32
Character
public
Parameters
NameTypeDescription
sourceString
valueChar
startIndexInt32
countInt32
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IndexOf(String,Char,Int32,Int32,CompareOptions)

Category
Method
Description
Searches for the specified character and returns the zero-based index of the first occurrence within the section of the source string that starts at the specified index and contains the specified number of elements using the specified System.Globalization.CompareOptions value.
Type
Int32
Character
public
Parameters
NameTypeDescription
sourceString
valueChar
startIndexInt32
countInt32
optionsCompareOptions
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IndexOf(String,String)

Category
Method
Description
Searches for the specified substring and returns the zero-based index of the first occurrence within the entire source string.
Type
Int32
Character
public
Parameters
NameTypeDescription
sourceString
valueString
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IndexOf(String,String,CompareOptions)

Category
Method
Description
Searches for the specified substring and returns the zero-based index of the first occurrence within the entire source string using the specified System.Globalization.CompareOptions value.
Type
Int32
Character
public
Parameters
NameTypeDescription
sourceString
valueString
optionsCompareOptions
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IndexOf(String,String,Int32)

Category
Method
Description
Searches for the specified substring and returns the zero-based index of the first occurrence within the section of the source string that extends from the specified index to the end of the string.
Type
Int32
Character
public
Parameters
NameTypeDescription
sourceString
valueString
startIndexInt32
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IndexOf(String,String,Int32,CompareOptions)

Category
Method
Description
Searches for the specified substring and returns the zero-based index of the first occurrence within the section of the source string that extends from the specified index to the end of the string using the specified System.Globalization.CompareOptions value.
Type
Int32
Character
public
Parameters
NameTypeDescription
sourceString
valueString
startIndexInt32
optionsCompareOptions
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IndexOf(String,String,Int32,Int32)

Category
Method
Description
Searches for the specified substring and returns the zero-based index of the first occurrence within the section of the source string that starts at the specified index and contains the specified number of elements.
Type
Int32
Character
public
Parameters
NameTypeDescription
sourceString
valueString
startIndexInt32
countInt32
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IndexOf(String,String,Int32,Int32,CompareOptions)

Category
Method
Description
Searches for the specified substring and returns the zero-based index of the first occurrence within the section of the source string that starts at the specified index and contains the specified number of elements using the specified System.Globalization.CompareOptions value.
Type
Int32
Character
public
Parameters
NameTypeDescription
sourceString
valueString
startIndexInt32
countInt32
optionsCompareOptions
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database